package com.ruoyi.manage.mapper;

import java.util.List;
import com.ruoyi.manage.domain.FormSettingSmall;

/**
 * 单小项Mapper接口
 * 
 * @author zww
 * @date 2025-07-15
 */
public interface FormSettingSmallMapper 
{
    /**
     * 查询单小项
     * 
     * @param formSettingSmallId 单小项主键
     * @return 单小项
     */
    public FormSettingSmall selectFormSettingSmallByFormSettingSmallId(Long formSettingSmallId);

    /**
     * 查询单小项列表
     * 
     * @param formSettingSmall 单小项
     * @return 单小项集合
     */
    public List<FormSettingSmall> selectFormSettingSmallList(FormSettingSmall formSettingSmall);

    /**
     * 新增单小项
     * 
     * @param formSettingSmall 单小项
     * @return 结果
     */
    public int insertFormSettingSmall(FormSettingSmall formSettingSmall);

    /**
     * 修改单小项
     * 
     * @param formSettingSmall 单小项
     * @return 结果
     */
    public int updateFormSettingSmall(FormSettingSmall formSettingSmall);

    /**
     * 删除单小项
     * 
     * @param formSettingSmallId 单小项主键
     * @return 结果
     */
    public int deleteFormSettingSmallByFormSettingSmallId(Long formSettingSmallId);

    /**
     * 批量删除单小项
     * 
     * @param formSettingSmallIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFormSettingSmallByFormSettingSmallIds(Long[] formSettingSmallIds);

    List<FormSettingSmall> selectFormSettingSmallByFormSettingBigId(Long formSettingBigId);
}
